﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Default.Master" Inherits="System.Web.Mvc.ViewPage<AbstractSaaSTemplate.UI.Web.Models.Tenant.CreateOrEditTenantForm>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"><%: Metadata.RootTenantCreateOrEditTenantTitle%></asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MetaDescription" runat="server"><%: Metadata.RootTenantCreateOrEditTenantDescription%></asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MetaKeywords" runat="server"><%: Metadata.RootTenantCreateOrEditTenantKeywords%></asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="H1Content" runat="server"><%: Metadata.RootTenantCreateOrEditTenantTitle %></asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="InnerBodyClass" runat="server">root tenant create-or-edit-tenant</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderID="MainContent" runat="server">

	<section class="info">
        <%: "" /*Messages.HelpInfoAboutThisForm*/ %>
    </section>

	<% using (Html.BeginForm()) { %>
    	<%: Html.ValidationSummary(string.Concat(
                Messages.NotPossibleToProceed,
                Messages.PleaseTryAgain)) %>
	    
		<fieldset>
	        <legend><%: "" /*Expressions.TitleForThisForm*/ %></legend>

	        <%: Html.LabelFor(model => model.CompanyName) %>
			<%: Html.EditorFor(model => model.CompanyName) %>
	        <%: Html.ValidationMessageFor(model => model.CompanyName) %>
		
	        <%: Html.LabelFor(model => model.DisplayName) %>
			<%: Html.EditorFor(model => model.DisplayName) %>
	        <%: Html.ValidationMessageFor(model => model.DisplayName) %>

            <%: Html.LabelFor(model => model.KeyOrLocation) %>
			<%: Html.EditorFor(model => model.KeyOrLocation)%>
	        <%: Html.ValidationMessageFor(model => model.KeyOrLocation)%>
		
	        <%: Html.LabelFor(model => model.Website) %>
			<%: Html.EditorFor(model => model.Website) %>
	        <%: Html.ValidationMessageFor(model => model.Website) %>
		
	        <%: Html.LabelFor(model => model.ContactPhoneAreaCode) %>
			<%: Html.EditorFor(model => model.ContactPhoneAreaCode) %>
	        <%: Html.ValidationMessageFor(model => model.ContactPhoneAreaCode) %>
		
	        <%: Html.LabelFor(model => model.ContactPhoneNumber) %>
			<%: Html.EditorFor(model => model.ContactPhoneNumber) %>
	        <%: Html.ValidationMessageFor(model => model.ContactPhoneNumber) %>
		
	        <%: Html.LabelFor(model => model.ContactPhoneExtension) %>
			<%: Html.EditorFor(model => model.ContactPhoneExtension) %>
	        <%: Html.ValidationMessageFor(model => model.ContactPhoneExtension) %>
		
	        <%: Html.LabelFor(model => model.AdministratorFirstName) %>
			<%: Html.EditorFor(model => model.AdministratorFirstName) %>
	        <%: Html.ValidationMessageFor(model => model.AdministratorFirstName) %>
		
	        <%: Html.LabelFor(model => model.AdministratorLastName) %>
			<%: Html.EditorFor(model => model.AdministratorLastName) %>
	        <%: Html.ValidationMessageFor(model => model.AdministratorLastName) %>
		
	        <%: Html.LabelFor(model => model.AdministratorEmailAddress) %>
			<%: Html.EditorFor(model => model.AdministratorEmailAddress) %>
	        <%: Html.ValidationMessageFor(model => model.AdministratorEmailAddress) %>

	        <%: Html.LabelFor(model => model.BillingAddressLine1) %>
			<%: Html.EditorFor(model => model.BillingAddressLine1) %>
	        <%: Html.ValidationMessageFor(model => model.BillingAddressLine1) %>
		
	        <%: Html.LabelFor(model => model.BillingAddressLine2) %>
			<%: Html.EditorFor(model => model.BillingAddressLine2) %>
	        <%: Html.ValidationMessageFor(model => model.BillingAddressLine2) %>

            <%: Html.LabelFor(model => model.BillingAddressLine3) %>
			<%: Html.EditorFor(model => model.BillingAddressLine3) %>
	        <%: Html.ValidationMessageFor(model => model.BillingAddressLine3) %>
		
	        <%: Html.LabelFor(model => model.BillingAddressCity) %>
			<%: Html.EditorFor(model => model.BillingAddressCity) %>
	        <%: Html.ValidationMessageFor(model => model.BillingAddressCity) %>
		
	        <%: Html.LabelFor(model => model.BillingAddressState) %>
			<%: Html.EditorFor(model => model.BillingAddressState) %>
	        <%: Html.ValidationMessageFor(model => model.BillingAddressState) %>
		
	        <%: Html.LabelFor(model => model.BillingAddressCountryCode) %>
			<%: Html.EditorFor(model => model.BillingAddressCountryCode) %>
	        <%: Html.ValidationMessageFor(model => model.BillingAddressCountryCode) %>
		
	        <%: Html.LabelFor(model => model.BillingAddressPostalCode) %>
			<%: Html.EditorFor(model => model.BillingAddressPostalCode) %>
	        <%: Html.ValidationMessageFor(model => model.BillingAddressPostalCode) %>

            <%: Html.CheckBoxFor(model => model.ContactUsesTheSameAddressAsBilling) %>
            <%: Html.LabelFor(model => model.ContactUsesTheSameAddressAsBilling)%>
		
	        <%: Html.LabelFor(model => model.ContactAddressLine1) %>
			<%: Html.EditorFor(model => model.ContactAddressLine1) %>
	        <%: Html.ValidationMessageFor(model => model.ContactAddressLine1) %>
		
	        <%: Html.LabelFor(model => model.ContactAddressLine2) %>
			<%: Html.EditorFor(model => model.ContactAddressLine2) %>
	        <%: Html.ValidationMessageFor(model => model.ContactAddressLine2) %>
		
	        <%: Html.LabelFor(model => model.ContactAddressLine3) %>
			<%: Html.EditorFor(model => model.ContactAddressLine3) %>
	        <%: Html.ValidationMessageFor(model => model.ContactAddressLine3) %>
		
	        <%: Html.LabelFor(model => model.ContactAddressCity) %>
			<%: Html.EditorFor(model => model.ContactAddressCity) %>
	        <%: Html.ValidationMessageFor(model => model.ContactAddressCity) %>
		
	        <%: Html.LabelFor(model => model.ContactAddressState) %>
			<%: Html.EditorFor(model => model.ContactAddressState) %>
	        <%: Html.ValidationMessageFor(model => model.ContactAddressState) %>
		
	        <%: Html.LabelFor(model => model.ContactAddressCountryCode) %>
			<%: Html.EditorFor(model => model.ContactAddressCountryCode) %>
	        <%: Html.ValidationMessageFor(model => model.ContactAddressCountryCode) %>
		
	        <%: Html.LabelFor(model => model.ContactAddressPostalCode) %>
			<%: Html.EditorFor(model => model.ContactAddressPostalCode) %>
	        <%: Html.ValidationMessageFor(model => model.ContactAddressPostalCode) %>

	        <footer>
				<%: Html.AntiForgeryToken() %>
	            <input type="submit" value="<%: Expressions.Confirm %>" />
	        </footer>
	    </fieldset>
	<% } %>

</asp:Content>

<asp:Content ID="Content7" ContentPlaceHolderID="StylesReferences" runat="server">
</asp:Content>

<asp:Content ID="Content8" ContentPlaceHolderID="JavascriptReferences" runat="server">
    <%: Html.JavaScriptForUX("CreateOrEditTenant") %>
</asp:Content>

